package test;

import org.jasypt.util.text.BasicTextEncryptor;

public class JasyptEncryptor {

    public static void main(String[] args) {
        //PBEWithMD5AndDES
        BasicTextEncryptor encryptor = new BasicTextEncryptor();
        encryptor.setPassword("123456");
        String encrypted = encryptor.encrypt("stars_v1_1231qaz");
        System.out.println(encrypted);
    }
}
